package com.cn.bulu.dao;

import com.cn.bulu.pojo.User;

import java.util.Map;

public interface UserDao {
	public User SelectUser(String userName);
	
	public Integer SelectUserExit(String userName);
	
	public Integer selectUserByCustomer(String phone);
	
	public void insertUser(User user);
	
	public void insetUserCustomer(Map<String,Object> map);

	public void insertUserRole(Map<String, Object> map);

	public User selectUserById(Integer userId);
	
	public void updateUserCustomer(Map<String,Object>  map);
}
